A configurable processing architecture

ABSTRACT

A configurable processing unit including a core processing element and a plurality of assist processing elements can be coupled together by one or more networks. The core processing element can include a large processing logic, large non-volatile memory, input/output interfaces and multiple memory channels. The plurality of assist processing elements can each include smaller processing logic, smaller non-volatile memory and multiple memory channels. One or more bitstreams can be utilized to configure and reconfigure computation resources of the core processing element and memory management of the plurality of assist processing elements.

BACKGROUND OF THE INVENTION

Computing systems have made significant contributions toward the advancement of modern society and are utilized in a number of applications to achieve advantageous results. Numerous devices, such as desktop personal computers (PCs), laptop PCs, tablet PCs, netbooks, smart phones, servers, and the like have facilitated increased productivity and reduced costs in communicating and analyzing data in most areas of entertainment, education, business, and science. A number of technologies and applications need processing units optimized for performance with large data sets, having high computational intensity and high memory bandwidth. Other technologies and applications need processing units optimized for performance with smaller data sets, utilizing lightweight computations, and having low latency. Conventional central processing units (CPUs) generally provide for high memory capacity and high communication bandwidth, but relatively lower computational intensity. Conventional graphics processing unit (GPUs), in comparison, generally provide higher computational intensity, but with relatively low memory capacity and low communication bandwidth. Accordingly, there is a continuing need for a flexible processing architecture that can provide for high computation intensity, high memory capacity and high communication bandwidth.

SUMMARY OF THE INVENTION

The present technology may best be understood by referring to the following description and accompanying drawings that are used to illustrate embodiments of the present technology directed toward a processing architecture that can be configured and reconfigured. The processing architecture can be advantageously utilized for graph computing, neural network computing, graph neural network computing and the like.

In one embodiment, the processing unit can include a core processing element and a plurality of assist processing elements coupled together by one or more networks. The core processing element can include processing logic, such as but not limited to a field programmable gate array (FPGA), and non-volatile memory (NVM), such as but not limited to flash (FLASH) memory. The processing logic and non-volatile memory (NVM) of the core processing element can have configurable computation and memory resources. The plurality of assist processing elements can each include processing logic, such as but not limited to a field programmable gate array (FPGA), and non-volatile memory (NVM), such as but not limited to flash (FLASH) memory. The processing logic and non-volatile memory (NVM) of the assist processing elements can have configurable memory resources and connection topology. The processing unit can also include one or more input/output interfaces for receiving one or more bitstreams for configuring and reconfiguring the processing unit.

In one embodiment, configuring the processing unit can include accessing one or more configuration bitstreams. Accessing the one or more configuration bitstreams can include retrieving the one or more bitstreams from the non-volatile memory (NVM) of the plurality of assist processing elements and the core processing element, or receiving the one or more configuration bitstreams at one or more input/output interfaces from a host device. The core processing element, the plurality of assist processing elements and the one or more networks can be configured based on the one or more configuration bitstreams. Configuration of the processing unit can include, but is not limited to, the configuration of computational resources of the core processing element and memory management of the plurality of assist processing elements. One or more applications, including but not limited to one or more long short-term memory (LSTM) NN applications, one or more multilayer perception (MLP) NN applications, one or more gated recurrent unit (GRU) NN applications, one or more attention NN applications, one or more sum/mean NN applications and or the like, can then be executed on the configured processing unit.

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the present technology are illustrated by way of example and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:

FIG. 1 shows a block diagram of a processing unit, in accordance with aspects of the present technology.

FIG. 2 shows a flow diagram of a method of configuring a processing unit, in accordance with aspects of the present technology.

FIGS. 3A and 3B illustrate exemplary configurations of a processing unit, in accordance with aspects of the present technology.

FIGS. 4A, 4B and 4C illustrate exemplary configurations of a processing unit, in accordance with aspects of the present technology.

DETAILED DESCRIPTION OF THE INVENTION

Reference will now be made in detail to the embodiments of the present technology, examples of which are illustrated in the accompanying drawings. While the present technology will be described in conjunction with these embodiments, it will be understood that they are not intended to limit the technology to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the scope of the invention as defined by the appended claims. Furthermore, in the following detailed description of the present technology, numerous specific details are set forth in order to provide a thorough understanding of the present technology. However, it is understood that the present technology may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail as not to unnecessarily obscure aspects of the present technology.

Some embodiments of the present technology which follow are presented in terms of routines, modules, logic blocks, and other symbolic representations of operations on data within one or more electronic devices. The descriptions and representations are the means used by those skilled in the art to most effectively convey the substance of their work to others skilled in the art. A routine, module, logic block and/or the like, is herein, and generally, conceived to be a self-consistent sequence of processes or instructions leading to a desired result. The processes are those including physical manipulations of physical quantities. Usually, though not necessarily, these physical manipulations take the form of electric or magnetic signals capable of being stored, transferred, compared and otherwise manipulated in an electronic device. For reasons of convenience, and with reference to common usage, these signals are referred to as data, bits, values, elements, symbols, characters, terms, numbers, strings, and/or the like with reference to embodiments of the present technology.

It should be borne in mind, however, that these terms are to be interpreted as referencing physical manipulations and quantities and are merely convenient labels and are to be interpreted further in view of terms commonly used in the art. Unless specifically stated otherwise as apparent from the following discussion, it is understood that through discussions of the present technology, discussions utilizing the terms such as “receiving,” and/or the like, refer to the actions and processes of an electronic device such as an electronic computing device that manipulates and transforms data. The data is represented as physical (e.g., electronic) quantities within the electronic device's logic circuits, registers, memories and/or the like, and is transformed into other data similarly represented as physical quantities within the electronic device.

In this application, the use of the disjunctive is intended to include the conjunctive. The use of definite or indefinite articles is not intended to indicate cardinality. In particular, a reference to “the” object or “a” object is intended to denote also one of a possible plurality of such objects. The use of the terms “comprises,” “comprising,” “includes,” “including” and the like specify the presence of stated elements, but do not preclude the presence or addition of one or more other elements and or groups thereof. It is also to be understood that although the terms first, second, etc. may be used herein to describe various elements, such elements should not be limited by these terms. These terms are used herein to distinguish one element from another. For example, a first element could be termed a second element, and similarly a second element could be termed a first element, without departing from the scope of embodiments. It is also to be understood that when an element is referred to as being “coupled” to another element, it may be directly or indirectly connected to the other element, or an intervening element may be present. In contrast, when an element is referred to as being “directly connected” to another element, there are not intervening elements present. It is also to be understood that the term “and or” includes any and all combinations of one or more of the associated elements. It is also to be understood that the phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting.

FIG. 1 shows a block diagram of a processing unit, in accordance with aspects of the present technology. The processing unit 100 can include a core processing element 110 and a plurality of assist processing elements 120 a-120 m coupled together by one or more networks 130 a-130 n. In one implementation the core processing element 110 and the plurality of assist processing element 120 a-120 m can be coupled together by one or more configurable mesh networks 130 a-130 n. In a mesh network 130 a-130 n, the core processing element 110 and the plurality of assist processing element 120 a-120 m can be configurably coupled together, dynamically and non-hierarchically to as many others as possible and cooperate with one another to efficiently route data, instructions, control signals and the like. The processing unit 110 can also include one or more input/output interfaces 140. The one or more input/output interfaces 140 can be configured for coupling the processing unit 100 to a host device 150 or the like. In one implementation, the core processing element 110, the plurality of assist processing elements 120 a-120 m and the one or more networks 130 a-130 n can be implemented in a system-in-package (SiP). In another implementation, the core processing element can be implemented as a peripheral card, such as a peripheral component interface express (PCIe) card. The plurality of assist processing elements 120 a-120 m can be implemented as one or more additional peripheral cards, such as peripheral component interface express (PCIe) cards, with each peripheral card including one or more assist processing elements 120-120 m.

The core processing element 110 can include configurable compute logic and non-volatile memory (NVM). In one implementation the configurable compute logic and NVM, of the core processing element 110 can be tightly coupled together. In one implementation, the core processing element 110 can include field programmable gate array (FPGA) and flash memory (FLASH). The core processing element 110 can include configurable graph compute functions. The core processing element 110 can also include configurable data flow functions.

The plurality of assist processing elements 120 a-120 m can include compute logic and non-volatile memory (NVM). The compute logic and non-volatile memory (NVM) of the assist processing element 120 a-120 m can be smaller than the compute logic and non-volatile memory (NVM) of the core processing element 110. In one implementation the configurable compute logic and NVM, of each respective assist processing element 120 a-120 m can be tightly coupled together. In one implementation, each respective assist processing element 120 a-120 m can include field programmable gate array (FPGA) and flash memory (FLASH). The assist processing elements 120 a-120 m can include multiple memory channels. In one implementation, the plurality of assist processing elements 120 a-120 m can be homogeneous with the same compute logic the same non-volatile memory, with the same memory capacity and the same memory channels between the compute logic and the non-volatile memory. In another implementation, the plurality of assist processing element 120 a-120 m can be heterogeneous, with one or more assist processing elements having different compute logic, different non-volatile memory, different memory capacities, different number of memory channels and or the like, different from one or more other assist processing elements.

The core processing element 110 can be configurable based on one or more configuration bitstreams. In one implementation, the computational resources of the core processing element 110 compute logic can be configured based on one or more configuration bitstreams. For example, allocation of computational resources of the core processing element 110 can be configured for a single graph neural network (GNN) application or for a plurality of GNN applications. The computational resources can also be allocated for optimization of inference, training, and or sampling modes of the one or more graph neural network (GNN) applications. In another example, one or more functions of the computational resources of the core processing element 110 can be configured. The one or more functions can be configured to implement long short-term memory (LSTM), multilayer perception (MLP), gated recurrent unit (GRU), attention, sum/mean and or other similar general neural network operations. In yet another example, a neural network node sampling strategy of the core processing element 110 can be configured. The node sampling strategy can include, but is not limited to, random and iterate for nodes, random or iterate for edges, and or edge weight, random, top K, in degree and window for neighbors. In yet another example, the operation (OP) instruction set of the core processing element 110 can be configured. The operation (OP) instruction set can include, but is not limited to, large, medium and small OP instruction sets. In another implementation, the memory resources of the core processing element 110 can be configured based on the one or more configuration bitstreams. For example, the memory capacity, number of memory channels, topology and or the like of the core processing element 110 can be configured.

The plurality of assist processing elements 120 a-120 m can also be configurable based on the one or more configuration bitstreams. In one implementation, memory management of the plurality of assist processing elements 120 a-120 m can be configured based on the one or more configuration bitstreams. For example, the memory capacity of the processing elements 120 a-120 m can be configured. In another implementation, the network interface of the plurality of assist processing elements 120 a-120 m can be configured based on the one or more configuration bitstreams. For example, the assist processing elements 120 a-120 m can be configured with one or more serial connections and or one or more parallel connections.

The one or more networks 130 a-130 n can also be configurable based on the one or more configuration bitstreams. In one implementation, the one or more configuration bitstreams can directly configure communication links between the plurality of assist processing elements 120 a-120 m and the core processing element 110. In another implementation, the one or more networks 130 a-130 n can be indirectly configured by the configuration of one or more serial interfaces and or one or more parallel interfaces of the assist processing elements 120 a-120 m and the core processing element 110.

In one implementation, the respective ones of the one or more configuration bitstreams can be stored in the non-volatile memory (NVM) of the respective ones of the plurality of assist processing elements 120 a-120 m and the respective core processing element 110. The processing unit 100 can be configured or reconfigured by loading different configuration bitstreams, via the one or more input/output interfaces 140, into the non-volatile memory (NVM) of the respective ones of the plurality of assist processing elements 120 a-120 m and the respective core processing element 110. In another implementation, the one or more configuration bitstreams can be received from a host device 150. The host device 150 can include a software daemon 160 and a non-volatile memory (NVM) 170. The NVM 170 of the host device 150 can store any number of configuration bitstreams. The software daemon 150 of the host device 140 can receive a user application programming interface (API) call 170 to configure or reconfigure the processing unit 100. The software daemon 150 can configure or reconfigure the plurality of assist processing elements 120 a-120 m and the core processing element 110 through the one or more input/output interfaces 140 of the processing unit 100 based on one or more configuration bitstreams stored in the non-volatile memory 170 of the host 150 in response to the application programming interface call 180.

Referring now to FIG. 2 , a method of configuring a processing unit, in accordance with aspects of the present technology, is shown. The method of configuring a processing unit can begin with accessing one or more configuration bitstreams, at 210. In one implementation, accessing one or more configuration bitstreams can include retrieving configuration bitstreams stored in non-volatile memory (NVM) of respective ones of a plurality of assist processing elements and a respective core processing element of the processing unit. In another implementation, accessing the one or more configuration bitstreams can include receiving the one or more configuration bitstreams on one or more input/output interfaces of the processing unit. For example, a host device can send the one or more configuration bitstreams on the one or more input/output interfaces of the processing unit in response to an application programming interface (API) call received by the host device. The one or more configuration bitstreams can include configuration parameters related to executing one or more given applications on the processing unit. For example, the one or more configuration bitstreams can include configuration parameters related to executing one or more neural network (NN) applications on the processing unit.

At 220, the core processing element of the processing unit can be configured based on the one or more configuration bitstreams. In one implementation, computation logic of the core processing can be configured based on one or more configuration bitstreams. For example, allocation of computational resources of the computation logic can be configured for a single graph neural network (GNN) application or for a plurality of GNN applications. The computational resources can also be allocated for optimization of inference, training, sampling and or the like modes. In another example, one or more functions of the computation logic of the core processing element can be configured. The one or more functions can be configured to implement long short-term memory (LSTM), multilayer perception (MLP), gated recurrent unit (GRU), attention, sum/mean and or other similar graph neural network operations. In yet another example, a neural network node sampling strategy of the core processing element can be configured. The node sampling strategy can include, but is not limited to, random and iterate for nodes, random or iterate for edges, and or edge weight, random, top K, in degree and window for neighbors. In yet another example, the operation instruction set of the core processing element can be configured. The operation (OP) instruction set can include, but is not limited to, large, medium and small OP instruction sets. In another implementation, the memory resources of the core processing element can be configured based on the one or more configuration bitstreams. For example, the memory capacity, number of memory channels, topology and or the like of the core processing element can be configured.

At 230, the plurality of assist processing elements of the processing unit can be configured based on the one or more configuration bitstreams. In one implementation, memory management of the plurality of assist processing elements can be configured based on the one or more configuration bitstreams. For example, the memory capacity of the processing elements can be configured. In another implementation, the network interface of the plurality of assist processing elements can be configured based on the one or more configuration bitstreams. For example, the assist processing elements can be configured with one or more serial communication connections and or one or more parallel communication connections.

At 240, a network coupling the plurality of assist processing elements to the core processing element can be configured based on the one or more configuration bitstreams. In one implementation, the one or more networks can be directly configured based on the one or more configuration bitstreams. In another implementation, the one or more networks can be indirectly configured by the configuration of one or more serial interfaces and or one or more parallel interfaces of the assist processing elements and the core processing element.

At 250, one or more given applications can be executed on the configured processing unit. In one implementation, one or more neural network (NN) applications, such as but not limited to one or more long short-term memory (LSTM) NN applications, one or more multilayer perception (MLP) NN applications, one or more gated recurrent unit (GRU) NN applications, one or more attention NN applications, one or more sum/mean NN applications and or the like, can be executed on the configured processing unit.

The processes at 210-250 can be repeated to reconfigure the processing unit one or more times, at 260. For example, the processing unit can be configured at 210-250 for executing a first neural network application. The processing unit can then be reconfigured at 260 for executing a second neural network application. In another example, the processing unit can be configured for executing training modes of one or more graph neural network (GNN) applications during the night. The processing unit can then be reconfigured for executing inference modes of one or more graph neural network (GNN) application during the day. In the training modes, the processing unit can be configured for processing large data sets, providing high computation intensity and high data bandwidth. In the inference mode, the processing unit can be configured for processing smaller data sets, utilizing lighter weight computations and high data transfer rates.

Referring now to FIGS. 3A and 3B, exemplary configurations of a processing unit, in accordance with aspects of the present technology, are illustrated. The processing unit 100, in one implementation, can be configured for executing a long short-term memory (LSTM) neural network application as illustrated in FIG. 3A. The LSTM configuration can be optimized for training, sampling or inference. The processing unit 100 can then be reconfigured for executing an attention neural network application as illustrated in FIG. 3B. Again, the attention configuration can be optimized for training, sampling or inference.

Referring now to FIGS. 4A, 4B and 4C, exemplary configurations of a processing unit, in accordance with aspects of the present technology, are illustrated. The processing unit 100, in one implementation can be configured for executing a plurality of applications. For example, a first portion of the core processing element 110 and a first subset of the assist processing elements 120 ₁-120 ₃ can be configured for executing a first application 410. A second portion of the core processing element 110 and a second subset of assist processing elements 120 ₄-120 ₉ can be configured for executing a second application 420, as illustrated in FIG. 4A. In another example, a portion of a set of assist processing elements 120 ₁-120 ₃ can be shared between a first and second application 430, 440, as illustrated in FIG. 4B. In another example, the assist processing elements 120 ₁-120 ₅ for executing a first application 450 can have a different configuration than the assist processing elements 120 ₆-120 ₈ for executing a second application 460, as illustrated in FIG. 4C. Although FIG. 4C illustrates different configurations for interconnecting the assist processing elements 120 and the core processing element 110, the configurations can also different in memory capacity, memory bandwidth, logic functions and or the like. Furthermore, the above examples are non-limiting and are intended to illustrate that the core processing element 110 and the plurality of assist processing elements 120 can be configured in any number of different configurations for executing one or more applications in one or more modes.

Aspects of the present technology advantageously provide a configurable processing unit. The architecture of the processing unit can advantageously be configured and reconfigured for specific applications. The configurable architecture provides a flexible processing unit for use in executing multiple applications and or mode of execution. The processing unit also provides achieve improved performance for a given set of one or more applications by configuring the architecture based on the specific set of one or more applications. Aspects of the present technology can also advantageously reduce cost by providing configurable architecture that can be optimized for specific applications and or a wider range of applications.

The foregoing descriptions of specific embodiments of the present technology have been presented for purposes of illustration and description. They are not intended to be exhaustive or to limit the present technology to the precise forms disclosed, and obviously many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the present technology and its practical application, to thereby enable others skilled in the art to best utilize the present technology and various embodiments with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims appended hereto and their equivalents. 

What is claimed is:
 1. A processing unit comprising: a core processing element including processing logic and non-volatile memory having configurable computation resources and memory resources; and a plurality of assist processing elements including processing logic and non-volatile memory having configurable memory resources and connection topology, one or more networks configured to couple the plurality of assist processing elements to the core processing element.
 2. The processing unit of claim 1, wherein the configurable computation resources of the core processing element includes a graph compute function.
 3. The processing unit of claim 1, wherein the configurable memory resources of the core processing element includes configurable data flow.
 4. The processing unit of claim 1, wherein: the processing logic of the core processing element includes a field programmable gate array (FPGA); and the non-volatile memory of the core processing element includes flash (FLASH) memory.
 5. The processing unit of claim 1, wherein: the processing logic of the plurality of assist processing elements include field programmable gate array (FPGA); and the non-volatile memory of the assist processing elements include flash (FLASH) memory.
 6. The processing unit of claim 1, wherein the one or more networks comprises a mesh network.
 7. The processing unit of claim 1, wherein: the core processing element is configurable based on one or more configuration bitstreams; the plurality of assist processing elements are configurable based on the one or more configuration bitstreams; and the one or more network is configurable based on the one or more configuration bitstreams.
 8. The processing unit of claim 7, wherein the one or more configuration bitstreams are received from a host.
 9. The processing unit of claim 8, further comprising one or more input/output interfaces configured to receive the one or more configuration bitstreams from the host.
 10. The processing unit of claim 7, wherein respective ones of the one or more configuration bitstreams are stored in the non-volatile memory of the respective ones of the plurality of assist processing elements and the respective processing element.
 11. A method of configuring a processing unit comprising: accessing one or more configuration bitstreams; configuring a core processing element of the processing unit based on the one or more configuration bitstreams; configuring a plurality of assist processing elements of the processing unit based on the one or more configuration bitstreams; configuring one or more networks coupling the plurality of assist processing elements to the core processing element based on the one or more configuration bitstreams; and execute one or more given applications on the processing unit.
 12. The method according to claim 11, wherein accessing the one or more bitstreams includes retrieving the one or more configuration bitstreams from non-volatile memory (NVM) of the plurality of assist processing elements and the core processing element of the processing unit.
 13. The method according to claim 11, wherein accessing the one or more bitstreams includes receiving the one or more configuration bitstreams on one or more input/output interfaces of the processing unit.
 14. The method according to claim 13, wherein accessing the one or more bitstreams includes receiving the one or more configuration bitstreams from a host device on the one or more input/output interfaces of the processing unit.
 15. The method according to claim 11, wherein configuring the core processing element includes configuring computation logic of the core processing element based on the one or more configuration bitstreams.
 16. The method according to claim 15, wherein configuring the core processing element includes one or more of: configuring allocation of one or more computational resources of the computation logic; configuring one or more functions of the computation logic; configuring a node sampling strategy of the computation logic; configuring an operation instruction set of the computation logic; and configuring a memory resource of the core processing element.
 17. The method according to claim 16, wherein configuring the core processing element includes allocation of computational resources for a single resident graph neural network (GNN) application or a plurality of residents (GNN) applications based on the one or more configuration bitstreams.
 18. The method according to claim 16, wherein configuring the memory resources of the core processing element includes configuring a number of memory channels of the core processing element of the based on the one or more configuration bitstreams.
 19. The method according to claim 16, wherein configuring the memory resources of the core processing element includes configuring a memory capacity of the core processing element of the based on the one or more configuration bitstreams.
 20. The method according to claim 11, wherein configuring the plurality of assist processing elements include one or more of: configuring memory management of the plurality of assist processing elements; and configuring one or more network interfaces of the plurality of assist processing elements. 